AmpProject\AmpWP\Infrastructure\ServiceBasedPlugin S

Total Complexity 49
Dependencies 9
Dependents 0
Total lines 519
Lines of code 197
Logical lines of code 99
Comment lines 230
Methods 17
Properties 3

Methods 17

Method Rating Maintainability Complexity Lines of code
configure_injector()
A
46 7 45
validate_services()
A
57 8 17
register_services()
S
48 6 36
__construct()
S
61 4 12
register_service()
S
62 4 11
instantiate_service()
S
60 3 14
activate()
S
66 3 9
deactivate()
S
66 3 9
maybe_resolve()
S
71 2 6
register()
S
65 2 10
get_identifier_from_fqcn()
S
64 1 10
get_service_classes()
S
82 1 3
get_bindings()
S
82 1 3
get_arguments()
S
82 1 3
get_shared_instances()
S
82 1 3
get_delegations()
S
82 1 3
get_container()
S
82 1 3